.search-container {
    display: flex;
    align-items: center;
    width: 700px; /* 更改宽度 */
    margin: 0 auto; /* 添加自动外边距以居中对齐 */
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 其他CSS保持不变 */


.search-input {
    flex-grow: 1;
    padding: 10px 20px;
    border: none;
    outline: none;
    border-radius: 20px 0 0 20px;
    font-size: 16px;
}

.search-input::placeholder {
    color: #aaa;
}

.search-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 0 20px 20px 0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-button:hover {
    background-color: #45a049;
}